package com.xuecheng.openfeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * <h4>xuecheng</h4>
 * <p>媒资微服务调用课程微服务</p>
 *  获取查询teachplan_media表
 * @author : by wujianming
 * @date : 2021-12-15 15:39
 **/
@FeignClient("content-service")
public interface Media4Course {

    @GetMapping("content/teachplanMedia/{mediaId}")
    public boolean teachplanMediaDTO(@PathVariable("mediaId") Long mediaId);

}
